<!DOCTYPE html>
<html lang="<?php echo get_html_lang(); ?>">
<head>
	<meta charset="utf-8">
	<?php if ( $description = settings('description')): ?>
	<meta name="description" content="<?php echo $description; ?>" />
	<?php endif; ?>

	<title><?php echo settings('site_title'); echo isset($title) ? ' | ' . strip_formatting($title) : ''; ?></title>
	<link rel="shortcut icon" type="image/x-icon" href="<?php echo WEB_ROOT;?>/themes/poincare/images/hpcarre.jpg"/>
	<?php echo auto_discovery_link_tags(); ?>
	<?php
	//<!-- Plugin Stuff -->
	// modification de applications/views/scripts/functions.php custom_header_background
	// nécessaire pour la répétition de l'image
	plugin_header();
	?>
	<?php
	//<!-- Stylesheets -->
	queue_css('style');
	display_css();
	?>
	<?php
	//<!-- JavaScripts displays jquery if necessary -->
	//display_js();
	?>

 	<script type="text/javascript">
		var _gaq = _gaq || [];
		_gaq.push(['_setAccount', 'UA-24093586-4']);
		_gaq.push(['_trackPageview']);
		(function() {
		  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		  ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
		})();
	</script>
</head>
<?php echo body_tag(array('id' => @$bodyid, 'class' => @$bodyclass)); ?>
<?php plugin_body(); ?>

<div id="wrap">
	<div id="header">
		<?php plugin_page_header(); ?>

		<div class="header-logo">
			<a href="http://poincare.univ-nancy2.fr/" title="Archives Henri Poincaré" target="_blank">
			<img id="ahp-logo" src="<?php echo WEB_ROOT;?>/themes/poincare/images/logo-ahp-small.png" alt="Archives Henri Poincaré"/></a>
		</div>

		<div id="site-title"><?php echo link_to_home_page(custom_display_logo_poincare()); ?></div>
		<div id="top-menu">
			<ul>
				<?php
				// Menu du haut
				echo '<li>'.link_to_home_page('Accueil').'</li>';
				/* echo custom_public_nav_header(); */
				?>
				<li><a href="<?php echo WEB_ROOT;?>/exhibits/show/e100">100 ans</a></li>
				<li><a href="<?php echo WEB_ROOT;?>/exhibits/show/photographies">Photos</a></li>
				<li><a href="<?php echo WEB_ROOT;?>/items/browse?tags=Audio&amp;sort_field=Dublin+Core,Date&amp;sort_dir=d">Audios</a></li>
				<li><a href="<?php echo WEB_ROOT;?>/items/browse?tags=Vidéo&amp;sort_field=Dublin+Core,Date&amp;sort_dir=d">Vidéos</a></li>
				<li><a href="<?php echo WEB_ROOT;?>/items/browse?type=26&amp;sort_field=Dublin+Core,Date&amp;sort_dir=d">Colloques</a></li>
				<li><a href="<?php echo WEB_ROOT;?>/items/browse?type=22&amp;sort_field=Dublin+Core,Date&amp;sort_dir=d">Presse</a></li>
			</ul>
		</div>
  </div><!-- fin de header -->

  <div id="content">
		<?php plugin_page_content(); ?>
